/**
 * Vuex 全局状态管理
 * @see https://vuex.vuejs.org/en/
 * @author Zeon scplay@gmail.com
 * @date 2017/8/5
 * @Last Modified by: kanglin
 * @Last Modified time: 2018-09-11 15:43:43
 * @copyright Created by Panxsoft.
 */
import Vue from 'vue';
import Vuex from 'vuex';
import userInfo from './modules/userInfo';
import skinRecords from './modules/skinRecords';
import lang from './modules/lang';
import login from './modules/login';
import collection from './modules/collection';
import report from './modules/report';
import lottieLoading from './modules/lottieLoading';

const config = {
	modules: {
		userInfo,
		skinRecords,
		lang,
		login,
		collection,
		report,
    lottieLoading,
	},
};

Vue.use(Vuex);

const store = new Vuex.Store(config);

export default store;
